﻿using System.Collections.Generic;
using RBOSS.Business.Products;

namespace RBOSS.Business.ShoppingCarts
{
    public interface IShoppingCart
    {
        List<IProduct> GetProducts();
        void AddItemToCart(IProduct product, int quantity);
        void RemoveItemFromCart(int productId);
        void ClearItemFromCart();
        //void SaveCartToDataBase(ICustomer customer);
        decimal GetTotalPrice();
        void SaveCartToDataBase();

        void AddItemToSessionCart(IProduct product, int quantity);
        void ClearItemsFromSessionCart();
    }
}